import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";

//老板表
@Entity({ name: 'boss' })
export class Boss {
    @PrimaryGeneratedColumn()
    id: number;

    @Column({ name: "bossName", length: 255, type: "text", comment: "老板名称" })
    bossName: string;

    @Column({ name: "amount", type: "integer", comment: "存单金额" })
    amount: number

    @Column({ name: "bossId", type: "text", comment: "存单编号" })
    bossId: string
}
